<template>
    <el-form-item label="边框样式">
        <el-switch v-model="optionModel.border" @change="handleButtonStyleChange"></el-switch>
    </el-form-item>
</template>

<script setup>
defineOptions({
    name:"border-editor"
})
const props = defineProps({
    optionModel:{
        type:Object,
        default:()=>({})
    }
})

const handleButtonStyleChange = (v)=>{
    if(v){
        props.optionModel.buttonStyle = false
    }
}
</script>

<style lang='scss' scoped></style>